package com.appstore.mapper;

import com.appstore.domain.entity.User;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserMapper {
    User getById(Long id);

    int register(User user);

    User getByUsername(String name);
}
